import request from '@/utils/request'

export function addDepart(data){
    return request({
        url:'/system/tb-dept/add',
        method:'POST',
        params:data
    })
}
export function getDepart(data){
    return request({
        url:'/system/tb-dept/select',
        method:'GET',
        params:data
    })
}
export function deleteDepart(data){
    return request({
        url:'/system/tb-dept/delete',
        method:'DELETE',
        params:data
    })
}
export function updateDepart(data){
    return request({
        url:'/system/tb-dept/update',
        method:'PUT',
        params:data
    })
}
